package 进阶.IO.字节流.输入;

import java.io.FileInputStream;
import java.io.IOException;

public class demo02 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("d:/a.txt");

        byte[] bytes = new byte[5];
        fis.read(bytes);
        System.out.println(new String(bytes));

        fis.close();
    }
}
